Sets the specified setting's value to the specified value in a
MonitoringObject instance.
Namespace:
Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager
(in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
Visual Basic |
Dim instance As Settings
Dim setting As Setting(Of T)
Dim instance As MonitoringObject
Dim settingValue As T
instance.SetInstanceValue(setting, instance, settingValue)
|
Syntax
Visual Basic |
Public Sub SetInstanceValue(Of T) ( _
setting As Setting(Of T), _
instance As MonitoringObject, _
settingValue As T _
)
|
C++ |
public:
generic<typename T>
void SetInstanceValue (
Setting<T>^ setting,
MonitoringObject^ instance,
T settingValue
)
|
Parameters
- setting
-
The setting to set a value for.
- instance
-
The MonitoringObject
instance to set the value of the setting in.
- settingValue
-
The value for the setting in the MonitoringObject
instance.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, and
Windows XP
Target Platforms
Windows Server 2008,Windows Server 2003,Windows Vista,Windows
XP
See Also